package cn.edu.seu.ssny.service;

import cn.edu.seu.ssny.entity.Device;
import cn.edu.seu.ssny.entity.MachineGroup;
import cn.edu.seu.ssny.entity.MachineGroupConfig;
import cn.edu.seu.ssny.service.support.IBaseService;

import java.util.List;

public interface IMachineGroupConfigService extends IBaseService<MachineGroupConfig, Integer> {

    List<MachineGroupConfig> findMachineGroupConfigsByMachineGroup(MachineGroup machineGroup);

    MachineGroupConfig findByMachineGroupAndDevice(MachineGroup machineGroup, Device device);

    List<MachineGroupConfig> findMachineGroupConfigsByMachineGroupAndType(MachineGroup machineGroup, Integer type);
}
